package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    //通过日期查找数据
    OrderSetting findCountByOrderDate(Date orderDate);

    void add(OrderSetting orderSetting);

    void editNumberByOrderDate(OrderSetting orderSetting);

    /*List<OrderSetting> getOrderSettingByMonth(Map map);*/

    //根据预约日期更新以预约人数
    void editReservationsByOrderDate(OrderSetting orderSetting);

     List<Map> getOrderSettingByMonth(String date);
}
